package cn.itsource.core;



import cn.hutool.http.HttpUtil;
import cn.itsource.constants.RConst;
import cn.itsource.utils.StrUtils;


public class SMSTemplate {
    private static final String url = "http://utf8.api.smschinese.cn/?Uid=%s&Key=%s&smsMob=%s&smsText=验证码:%s";
    private static final String username = "jds_666";
    private static final String key  = "9C2EC67ADEFDF1C51939243F0C9F4B9F";
    public void sendMessage(String phone,String messge){
        String format = String.format(url, username, key, phone, messge);
//        String s = HttpUtil.get(format);
        System.out.println(messge);
    }
}
